Skip to content

REF: Make WeekOfMonthMixin a cdef class #34265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 25, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

@jreback jreback added the Frequency DateOffsets label May 20, 2020
@jreback jreback added this to the 1.1 milestone May 20, 2020
@jreback
Copy link
Contributor

jreback commented May 20, 2020

can you rebase

@jbrockmendel
Copy link
Member Author

Rebased +green

@jbrockmendel
Copy link
Member Author

rebased+pseudo-green

@@ -299,8 +299,53 @@ def is_on_offset(self, dt):
# TODO, see #1395
return True

def _repr_attrs(self) -> str:
# The DateOffset class differs from other classes in that members
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems like it could be integrated to the other classes no? surely a follown

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yah, there are a lot of __dict__-related workarounds that can be cleaned up once everything is a cdef class

@jreback jreback merged commit a248f72 into pandas-dev:master May 25, 2020
@jbrockmendel jbrockmendel deleted the ref-liboffsets-cdef-wom branch May 25, 2020 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants